#include <iostream>
using namespace std;
#include <iomanip>
using std::setw;
#include <cmath>

int main()
{
	for(int i=0;i<=30;i++)
	{
		int j=30-i;
		int all=i*2+j*4;
		if (all==90) cout<< "chick: " <<i <<"rabit: " <<j<<"\n"; 
	}
	return 0;
}
